package com.gator.desig_mode.combination;

/**
 * @author 何章怀晓 hezhanghuaixiao
 * @version V1.0
 * @desc 为组合顶层节点
 */
public abstract class School {

  private String name;

  private String desc;


  public School() {
  }

  public School(String name, String desc) {
    this.name = name;
    this.desc = desc;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getDesc() {
    return desc;
  }

  public void setDesc(String desc) {
    this.desc = desc;
  }

  protected int add(School school){
    return 0;
  }

  protected int rem(School school){
    return 0;
  }



  protected abstract void print();


}
